Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
17a9f194
Commit
17a9f194
authored
Dec 18, 2008
by
goro
Browse files
Fix initial jump to script's home dir
parent
355160e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/snapshots/cleanup_snapshots.sh
View file @
17a9f194
...
...
@@ -2,8 +2,8 @@
## Open script-dir-homed subshell
(
ABS_SCRIPT_DIR
=
`
pwd
`
/
`
dirname
"
$0
"
`
cd
"
${
ABS_SCRIPT_DIR
}
"
ABS_SCRIPT_DIR
=
$(
cd
$(
dirname
$(
which
"
$0
"
))
&&
pwd
)
cd
"
${
ABS_SCRIPT_DIR
}
"
||
exit
1
## Internal config
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment