• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mkdir in shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkdir in shell script


  • Subject: Re: mkdir in shell script
  • From: Creed Erickson <email@hidden>
  • Date: Mon, 23 Aug 2004 15:04:21 -0700

On Aug 23, 2004, at 1:07 PM, Chuck Soper wrote:

> #the script:
> echo "inBuildPhaseShellScript"
> srcPath="$SRCROOT/data"
> destPath="$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/data123"
>
> echo "path: $destPath"
> if [ ! -d "$destPath" ]; then
>  mkdir "$destPath"
> fi

Try this:

#!/bin/sh
echo "inBuildPhaseShellScript"
srcPath="$SRCROOT/data"
destPath="$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/data123"
export srcPath destPath

echo "path: $destPath"
if [ ! -d "$destPath" ]; then
         mkdir  "$destPath"
fi

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: mkdir in shell script
      • From: Chuck Soper <email@hidden>
References: 
 >mkdir in shell script (From: Chuck Soper <email@hidden>)
 >Re: mkdir in shell script (From: Nick Zitzmann <email@hidden>)
 >Re: mkdir in shell script (From: Chuck Soper <email@hidden>)

  • Prev by Date: Re: mkdir in shell script
  • Next by Date: Re: mkdir in shell script
  • Previous by thread: Re: mkdir in shell script
  • Next by thread: Re: mkdir in shell script
  • Index(es):
    • Date
    • Thread